#!/usr/bin/env bash

read -p "请输入要启动的配置文件(dev | prod)[默认: dev]: " profile
read -p "请输入要启动的端口: " port
read -p "请输入要运行的jar: " jar

java -jar -Dserver.port=${port} -Dspring.profiles.active=${profile} ${jar}
